<?php echo \think\facade\View::fetch("public/header"); ?>

    <div id="right">
        <div id="content">
            <div id="breadcrumb">
                <a href="/admin/article/index/">首页</a> &gt;
                <a href="/admin/collect/index/">收藏管理</a> &gt;
                <a href="/admin/collect/index/">收藏列表</a>
            </div>

            <div id="choose_div">
                <!--                                <button id="choose-all" class="btn">全选</button>-->
                <!--                                <a href="#">删除选中任务</a>-->
                <!--<a href="/admin/user/add/" class="add">增加用户</a>-->
            </div>

            <table class="list">
                <tr>
                    <th></th>
                    <th>Id</th>
                    <th>用户id</th>
                    <th>用户名</th>
                    <th>文章id</th>
                    <th>收藏时间</th>
                    <!--<th>修改时间</th>-->
                    <th>操作</th>
                </tr>
                <?php foreach ($collectList as $row): ?>
                    <tr>
                        <td><input type="checkbox"/></td>
                        <td><?php echo $row['collect_id']; ?></td>
                        <td><?php echo $row['user_id']; ?></td>
                         <td><?php echo $row['user_name']; ?></td>
                        <td><?php echo $row['article_id']; ?></td>
                        <td><?php echo date("Y-m-d H:i:s", $row['add_time']); ?></td>
                        <!--<td><?php echo date("Y-m-d H:i:s", $row['update_time']); ?></td>-->
                        <td>
                            <!--<a href="/admin/collect/edit/collect_id/<?php echo $row['collect_id']; ?>/">编辑</a>-->
                            <a href="/admin/collect/delete/collect_id/<?php echo $row['collect_id']; ?>/">删除</a>
                        </td>
                    </tr>
                <?php endforeach; ?>
            </table>
        </div>
    </div>

<?php echo \think\facade\View::fetch("public/footer"); ?>